package summoning;

public enum Familiar {
	ABYSSAL_LURKER("Abyssal lurker", 62, 41, 20, "Abyssal Stealth", 7),
	ABYSSAL_PARASITE("Abyssal parasite", 54, 30, 6, "Abyssal Drain", 7),
	ABYSSAL_TITAN("Abyssal titan", 93, 32, 6, "Essence Shipment", 7),
	ADAMANT_MINOTAUR("Adamant minotaur", 76, 66, 6, "Adamant Bull Rush", 0),
	ALBINO_RAT("Albino rat", 23, 22, 6, "Cheese Feast", 0),
	ARCTIC_BEAR("Arctic bear", 71, 28, 6, "Arctic Blast", 0),
	BARKER_TOAD("Barker toad", 66, 8, 6, "Toad Bark", 0),
	BEAVER("Beaver", 33, 27, 3, "Multichop", 0),
	BLOATED_LEECH("Bloated leech", 49, 34, 6, "Blood Drain", 0),
	BRONZE_MINOTAUR("Bronze minotaur", 36, 30, 6, "Bronze Bull Rush", 0),
	BULL_ANT("Bull ant", 40, 30, 12, "Unburden", 9),
	BUNYIP("Bunyip", 68, 44, 3, "Swallow Whole", 0),
	COMPOST_MOUND("Compost Mound", 28, 24, 12, "Generate Compost", 0),
	DESERT_WYRM("Desert wyrm", 18, 19, 6, "Electric Lash", 0),
	DREADFOWL("Dreadfowl", 4, 4, 3, "Dreadfowl Strike", 0),
	EVIL_TURNIP("Evil turnip", 42, 30, 6, "Evil Flames", 0),
	FIRE_TITAN("Fire titan", 79, 62, 20, "Titan's Constitution", 0),
	FORGE_REGENT("Forge regent", 76, 45, 6, "Inferno", 0),
	FRUIT_BAT("Fruit bat", 69, 45, 6, "Fruitfall", 0),
	GEYSER_TITAN("Geyser titan", 89, 69, 6, "Boil", 0),
	GIANT_CHINCHOMPA("Giant chinchompa", 29, 31, 3, "Explode", 0),
	GIANT_ENT("Giant ent", 78, 49, 6, "Acorn Missile", 0),
	GRANITE_CRAB("Granite crab", 16, 18, 12, "Stony Shell", 0),
	GRANITE_LOBSTER("Granite lobster", 74, 47, 6, "Crushing Claw", 0),
	HONEY_BADGER("Honey badger", 32, 25, 12, "Insane Ferocity", 0),
	HYDRA("Hydra", 80, 49, 6, "Regrowth", 0),
	IBIS("Ibis", 56, 38, 12, "Fish Rain", 0),
	ICE_TITAN("Ice titan", 79, 64, 20, "Titan's Constitution", 0),
	IRON_MINOTAUR("Iron minotaur", 46, 37, 6, "Iron Bull Rush", 0),
	IRON_TITAN("Iron titan", 95, 60, 12, "Iron Within", 0),
	KARAMTHULHU_OVERLORD("Karamthulhu overlord", 58, 44, 3, "Doomspere Device", 0),
	LAVA_TITAN("Lava titan", 83, 61, 4, "Ebon Thunder", 0),
	MACAW("Macaw", 41, 31, 12, "Herbcall", 0),
	MAGPIE("Magpie", 47, 34, 12, "Thieving Fingers", 0),
	MITHRIL_MINOTAUR("Mithril minotaur", 66, 55, 6, "Mithril Bull Rush", 0),
	MOSQUITO("Mosquito", 17, 12, 3, "Pester", 0),
	MOSS_TITAN("Moss titan", 79, 58, 20, "Titan's Constitution", 0),
	OBSIDIAN_GOLEM("Obsidian golem", 73, 55, 12, "Volcanic Strength", 0),
	PACK_YAK("Pack yak", 96, 58, 12, "Winter Storage", 30),
	PHOENIX("Phoenix", 72, 30, 12, "Rise from the Ashes", 0),
	PRAYING_MANTIS("Praying mantis", 75, 69, 6, "Mantis Strike", 0),
	PYRELORD("Pyrelord", 46, 32, 6, "Immense Heat", 0),
	RAVENOUS_LOCUST("Ravenous locust", 70, 24, 12, "Famine", 0),
	RUNE_MINOTAUR("Rune minotaur", 86, 151, 6, "Rune Bull Rush", 0),
	SMOKE_DEVIL("Smoke devil", 61, 48, 6, "Dust Cloud", 0),
	SPIRIT_COBRA("Spirit cobra", 63, 56, 3, "Ophidian Incubation", 0),
	SPIRIT_COCKATRICE("Spirit cockatrice", 43, 36, 3, "Petrifying Gaze", 0),
	SPIRIT_DAGANNOTH("Spirit dagannoth", 83, 57, 6, "Spike Shot", 0),
	SPIRIT_GRAAHK("Spirit graahk", 57, 49, 3, "Goad", 0),
	SPIRIT_JELLY("Spirit jelly", 55, 43, 6, "Dissolve", 0),
	SPIRIT_KALPHITE("Spirit kalphite", 25, 22, 6, "Sandstorm", 6),
	SPIRIT_KYATT("Spirit kyatt", 57, 49, 3, "Ambush", 0),
	SPIRIT_LARUPIA("Spirit larupia", 57, 49, 6, "Rending", 0),
	SPIRIT_SCORPION("Spirit scorpion", 19, 17, 6, "Venom Shot", 0),
	SPIRIT_SPIDER("Spirit spider", 10, 15, 6, "Egg Spawn", 0),
	SPIRIT_TERRORBIRD("Spirit terrorbird", 52, 36, 8, "Tireless Run", 12),
	SPIRIT_TZ_KIH("Spirit Tz-Kih", 22, 18, 6, "Fireball Assault", 0),
	SPIRIT_WOLF("Spirit Wolf", 1, 6, 3, "Howl", 0),
	STEEL_MINOTAUR("Steel minotaur", 56, 46, 6, "Steel Bull Rush", 0),
	STEEL_TITAN("Steel titan", 99, 64, 12, "Steel of Legends", 0),
	STRANGER_PLANT("Stranger plant", 64, 49, 6, "Poisonous Blast", 0),
	SWAMP_TITAN("Swamp titan", 85, 56, 6, "Swamp Plague", 0),
	TALON_BEAST("Talon beast", 77, 49, 6, "Deadly Claw", 0),
	THORNY_SNAIL("Thorny snail", 13, 16, 3, "Slime Spray", 3),
	UNICORN_STALLION("Unicorn stallion", 88, 54, 20, "Healing Aura", 0),
	VAMPITE_BAT("Vampire bat", 31, 33, 4, "Vampire Touch", 0),
	VOID_RAVAGER("Void ravager", 34, 27, 3, "Call to Arms", 0),
	VOID_SHIFTER("Void shifter", 34, 94, 3, "Call to Arms", 0),
	VOID_SPINNER("Void spinner", 34, 27, 3, "Call to Arms", 0),
	VOID_TORCHER("Void torcher", 34, 94, 3, "Call to Arms", 0),
	WAR_TORTOISE("War tortoise", 67, 43, 20, "Testudo", 18),
	WOLPERTIGER("Wolpertiger", 92, 62, 20, "Magic Focus", 0);

	private int inventory_space;
	private String name;
	private int required_level;
	private int required_special;
	private String scroll_name;
	private int time;

	Familiar(String name, int required_level, int time, int required_special, String scroll_name, int inventory_space) {
		this.name = name;
		this.required_level = required_level;
		this.time = time;
		this.required_special = required_special;
		this.scroll_name = scroll_name;
		this.inventory_space = inventory_space;

	}

	public static Familiar get(String name) {
		for (Familiar f : Familiar.values()) {
			if (f.name.equalsIgnoreCase(name)) {
				return f;
			}
		}
		return null;
	}

	public int getInventorySpace() {
		return inventory_space;
	}

	public String getName() {
		return name;
	}

	public int getRequiredLevel() {
		return required_level;
	}

	public int getRequiredSpecial() {
		return required_special;
	}

	public String getScrollName() {
		return scroll_name;
	}

	public int getTime() {
		return time;
	}

	@Override
	public String toString() {
		return getName();
	}
}